<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'switch_frame.jsp' starting page</title>
		<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding:0px;	
}
#switchpic {
	height:6px;
	text-align:center;
	vertical-align: top;
	padding:0px;
	margin:0px;
	cursor: pointer;
	clear: both;	
}
#ImgArrow{
	margin:0 auto;
	padding:0px;
	line-height:6px;
	display: block;
}
</style>
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" language="javascript">
		$(document).ready(function () {	
			$('#ImgArrow').toggle(
				function(){
					$(this).attr("src","images/switch_down.gif");
					$('#centerFrameSet', window.parent.document).attr("rows", "0,6,*"); 
					//parent.centerFrameSet.rows="0,6,*";
				},
				function(){
					//parent.centerFrameSet.rows="75,6,*";
					$('#centerFrameSet', window.parent.document).attr("rows", "75,6,*"); 
					$(this).attr("src","images/switch_up.gif"); 
				}
			);
		});
		</script>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<div id="switchpic" style="line-height:4px;background: url(images/main_38.gif);">
			<img src="images/switch_up.gif" height="6"  id="ImgArrow" />
		</div>
	</body>
</html>
